home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / MacTech® Magazine / Volume 10 - 1994 / 10.04 Apr 94 / Powering Up / Executing Code / SimpleApp.r < prev    next >
Encoding:
Text File  |  1994-02-09  |  882 b   |  46 lines  |  [TEXT/MPS ]

  1. // File: SimpleApp.r
  2. //
  3. // This file defines the 'cfrg' and 'SIZE' resources for SimpleApp,
  4. // and includes the rest of the resources from a resource file
  5. // (This allows us to use the same files for the Macintosh on RISC SDK
  6. // and the MetroWerks compilers)
  7.  
  8. #include "Types.r"
  9. #include "CodeFragmentTypes.r"
  10.  
  11. resource 'cfrg' (0) {
  12.     {
  13.         kPowerPC,
  14.         kFullLib,
  15.         kNoVersionNum, kNoVersionNum,
  16.         kDefaultStackSize,
  17.         kNoAppSubFolder,
  18.         kIsApp, kOnDiskFlat, kZeroOffset, kWholeFork,
  19.         "SimpleApp"
  20.     }
  21. };
  22.  
  23.  
  24. resource 'SIZE' (-1) {
  25.     reserved,
  26.     acceptSuspendResumeEvents,
  27.     reserved,
  28.     canBackground,
  29.     multiFinderAware,
  30.     backgroundAndForeground,
  31.     dontGetFrontClicks,
  32.     ignoreChildDiedEvents,
  33.     is32BitCompatible,
  34.     isHighLevelEventAware,
  35.     onlyLocalHLEvents,
  36.     notStationeryAware,
  37.     dontUseTextEditServices,
  38.     reserved,
  39.     reserved,
  40.     reserved,
  41.     100 * 1024,
  42.     100 * 1024
  43. };
  44.  
  45. INCLUDE "SimpleApp.µ.rsrc";
  46.